package com.dep.service;

import com.dep.common.ResponseData;
import com.dep.dto.req.StaffInsertReq;
import com.dep.dto.req.StaffReq;
import com.dep.dto.resp.StaffResp;
import com.github.pagehelper.PageInfo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface StaffService {

    ResponseData insertStaff(StaffInsertReq staffInsertReq) throws InvocationTargetException, IllegalAccessException;

    ResponseData<PageInfo<StaffResp>> findStaffPage(StaffReq req);
}
